﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Training.Dia1.Data.Entities;

namespace Training.Dia1.Data.Managers
{
    public class PeriodoManager
    {
        public static IList<Periodo> GetList()
        {
            using (TrainingDia1DbContext ctx = new TrainingDia1DbContext())
            {
                return ctx.Periodos.ToList();
            }
        }
    }
}
